package com.aconcagua.mvc.service.support {
  import com.aconcagua.mvc.service.ServiceInvoker;
  
  public class ServiceDelegateSupport {
    private var _invokerClass: Class;
    
    public function ServiceDelegateSupport(invokerClass: Class) {
      _invokerClass = invokerClass;
    }

    protected function createInvoker(operation: Function, parameters: Array): ServiceInvoker {
      return new _invokerClass(operation, parameters) as ServiceInvoker;
    }
  }
}